<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
		<meta http-equiv="X-UA-Compatible" content="IE=9" />
		<meta name="renderer" content="webkit">
		<title>入库单编辑</title>
		<link rel="stylesheet" type="text/css" href="../../css/cm-default.css"  />
		<link rel="stylesheet" type="text/css" href="../../lib/ligerUI/skins/Aqua/css/ligerui-all.css" />
		<link rel="stylesheet" type="text/css" href="../../lib/select2/css/select2.css" />
<!-- 		<link rel="stylesheet" type="text/css" href="../../lib/ligerUI/skins/AquaCustomer/css/ligerui-all.css" /> -->
<!-- 		<link rel="stylesheet" type="text/css" href="../../lib/ligerUI/skins/Gray2014/css/all.css" /> -->
		<link rel="stylesheet" type="text/css" href="../../lib/ligerUI/skins/ligerui-icons.css" />

<!-- 		<link rel="stylesheet" href="../../lib/jquerySpin/smartspinner.css"> -->
		<link rel="stylesheet" type="text/css" href="../../lib/bootstrap//css/bootstrap.css"/>
		<link type="text/css" rel="stylesheet" href="../../css/public.css"  />
		<link type="text/css" rel="stylesheet" href="../../css/pub.css"  />
<!-- 		<script src="../../lib/jquery/jquery-1.9.1.min.js" type="text/javascript"></script> -->
		<script src="../../lib/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
		<script src="../../lib/select2/js/select2.full.js" type="text/javascript"></script>
		<script src="../../lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
<!-- 		<script src="../../lib/jquerySpin/smartspinner.js"></script> -->
		<script src="../../lib/My97DatePicker/WdatePicker.js"></script>
		<script src="../../lib/jquery-validation/jquery.validate.min.js" type="text/javascript"></script>
		<script src="../../lib/jquery-validation/jquery.metadata.js" type="text/javascript"></script>
		<script src="../../lib/jquery-validation/messages_cn.js" type="text/javascript"></script>
		<script src="../../js/common.js" type="text/javascript"></script> 
		
		<script type="text/javascript" src="../../lib/bootstrap/js/bootstrap.js" ></script>
	    <!--解决IE实现对媒体查询（media query）的支持-->
		<!--[if lt IE 9]>
		<script type="text/javascript" src="../../lib/ie/respond.src.js"></script>
		<![endif]-->
		<script type="text/javascript" src="../../js/pub.js"></script>
		
 		<script src="stock_picking_detail_pop.js" type="text/javascript"></script>
	</head>
	
	<body>
	    <div class="form_tab contextHeight">
			<div id="form_option" class="contextWidth form_option">
				<div class="contextWidth form_option_content">
					<button type="button" class="form_Button btn btn-primary btn-xs">编辑</button>
					<button type="button" onclick="toSave()" class="form_Button btn btn-primary btn-xs">保存</button>
					<button type="button" onclick="toBack()" class="form_Button btn btn-primary btn-xs">返回</button>
					<button type="button" onclick="resetArea()" class="form_Button btn btn-primary btn-xs">清空</button>
				</div>
			</div>
			<div id="form_core" class="form_core">
				<div style="" class="form_header">
					<div class="form_header_content">
						<button type="button" class="btn btn-default btn-xs">标记为待办任务</button>
						<button type="button" class="btn btn-default btn-xs">收货确认</button>
					</div>
				</div>
				<div id="formContent" class="formContent">
					<div class="form_core_content">
						<div id="a_center">
							<form class="form-horizontal label_font" name="basic-form" method="post" id="basic_form" data-validate="{}">
								<div class="form_core_content_header">
									<h3>入库单&nbsp;/</h3>
								</div>
								<div class="form_hidden">
									<input type="hidden" id="picking_id" />
								</div>
								<div class="form-group">
								    <label for="codeS" class="col-sm-1 control-label">入库单号</label>
									<div class="col-sm-3 col-sm-offset-1" class="input_left_line">
									  	<input type="text" name="codeS" id="codeS" class="form-control input-sm readonly"  
									      readonly="readonly" value="由系统自动生成">
									</div>
									<div class="col-sm-1"></div>
									<label for="createDateS" class="col-sm-1 control-label">创建日期</label>
									<div class="col-sm-3 col-sm-offset-1" class="input_left_line">
									   <input type="text" name="createDateS" id="createDateS" class="form-control input-sm Wdate readonly" /*ltype="date"*/ 
									   placeholder="订单日期" readonly="readonly" data-toggle="tooltip" data-placement="right" title=""
									   onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})">
									</div>
								</div>
								<div class="form-group">
								    <label for="partnerS" class="col-sm-1 control-label">供应商</label>
								    <div class="col-sm-3 col-sm-offset-1" class="input_left_line">
<!-- 								      <input type="text" name="partnerInS" id="partnerInS" ltype="combobox" class="form-control input-sm"   -->
<!-- 								      placeholder="供应商单号" validate="{required:true}" data-toggle="tooltip" data-placement="right" title=""> -->
<!-- 								      <input type="hidden" id="partnerS" /> -->
										<select id="partnerS" validate="{required:true}">
											
										</select>
								    </div>
								    <div class="col-sm-1"></div>
								    <label for="predDateS" class="col-sm-1 control-label">安排日期</label>
									<div class="col-sm-3 col-sm-offset-1" class="input_left_line">
										<input type="text" name="predDateS" id="predDateS" class="form-control input-sm Wdate"  /*ltype="date"*/ 
									   placeholder="订单日期" readonly="readonly" validate="{required:true,date:true}" data-toggle="tooltip" data-placement="right" title=""
									   onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})">
									</div>
								</div>
								<div class="form-group">
								    <label for="pickTypeS" class="col-sm-1 control-label">业务类型</label>
								    <div class="col-sm-3 col-sm-offset-1">
<!-- 								      	<input type="text" name="pickTypeInS" id="pickTypeInS" ltype="combobox" class="form-control input-sm"   -->
<!-- 									      placeholder="供应商单号" validate="{required:true}" data-toggle="tooltip" data-placement="right" title=""> -->
<!-- 								        <input type="hidden" id="pickTypeS" /> -->
										<select id="pickTypeS">
											
										</select>
								    </div>
								    <div class="col-sm-1"></div>
								    <label for="origin" class="col-sm-1 control-label">源单据号</label>
									<div class="col-sm-3 col-sm-offset-1">
	<!-- 									<input type="text" name="printCount" id="printCount" class="form-control input-sm smartspinner"   -->
	<!-- 									placeholder="数字" validate="{digits:true,min:1,max:100}" -->
	<!-- 									data-toggle="tooltip" data-placement="right" title=""> -->
											<input type="text" name="origin" id="origin" placeholder="源单据号"  
											data-toggle="tooltip" data-placement="right" title="" class="form-control input-sm">
									</div>
								</div>
								<div class="form-group">
								    <label for="email" class="col-sm-1 control-label">备注</label>
									<div class="col-sm-3 col-sm-offset-1">
	<!-- 									<input type="text" name="email" id="email" class="form-control input-sm"  -->
	<!-- 									placeholder="邮箱**@**.**" validate="{required:true,email:true}" -->
	<!-- 									data-toggle="tooltip" data-placement="right" title=""> -->
											<textarea id="noteS" name="noteS" class="form-control" rows="2"></textarea>
									</div>
								</div>
							</form>
						</div>
						<br />
						<div>
							<!-- Nav tabs -->
							<ul class="nav nav-tabs" role="tablist">
							   <li role="presentation" class="active"><a href="#tab1" aria-controls="tab1" role="tab" data-toggle="tab" aria-expanded="true">入库商品</a></li>
							   <li role="presentation"><a href="#tab2" aria-controls="tab2" role="tab" data-toggle="tab" aria-expanded="false">入库商品1</a></li>
							   <li role="presentation"><a href="#tab3" aria-controls="tab3" role="tab" data-toggle="tab" aria-expanded="true">发货与发票</a></li>
							</ul>
							<!-- Tab panes -->
							<div class="tab-content">
							   <div role="tabpanel" class="tab-pane tab_content active" id="tab1">
							   		<div style="">
							   			<div class="formTable">
											<div id="p-div">
											
											</div>
											<table id="grid_0" class="table table-hover">
											   <tfoot>
											   	 <tr>
										   			 <td></td>
										         </tr>
											   </tfoot>
											   <tbody>
											      <tr>
												      <td class="oe_form_field_one2many_list_row_add">
												      	<a href="javascript:;" onclick="addNewRow_pop();">添加一个项目</a>
												      </td>
											      </tr>
											      <tr>
												      <td title="">&nbsp;</td>
											      </tr>
											      <tr>
												      <td title="">&nbsp;</td>
											      </tr>
											      <tr>
												      <td title="">&nbsp;</td>
											      </tr>
											   </tbody>
											</table>
							   			</div>
							   		</div>
							   		<div id="pop_div" class="form-horizontal">
							   			<div class="modal fade" id=addMx_Modal tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
										  <div class="modal-dialog" role="document">
										    <div class="modal-content">
										      <div class="modal-header">
										        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
										        <h4 class="modal-title" id="exampleModalLabel">添加一行</h4>
										      </div>
										      <div class="modal-body">
												<div class="form-group">
												    <label for="product_name" class="col-sm-2 control-label">产品：</label>
													<div class="col-sm-4">
													  	<input type="text" name="product_name" id="product_name" class="form-control input-sm" placeholder="名字"/>
													</div>
													<label for="product_code" class="col-sm-2 control-label">内部货号：</label>
													<div class="col-sm-4">
													    <input type="text" name="product_code" id="product_code" class="form-control input-sm" placeholder="内部货号"/>
													</div>
												</div>
												<div class="form-group">
												    <label for="product_att" class="col-sm-2 control-label">规格属性：</label>
													<div class="col-sm-4">
													  	<input type="text" name="product_att" id="product_att" class="form-control input-sm" placeholder="规格属性"/>
													</div>
													<label for="product_uom_qty" class="col-sm-2 control-label">数量：</label>
													<div class="col-sm-4">
													    <input type="text" name="product_uom_qty" id="product_uom_qty" class="form-control input-sm" placeholder="数量"/>
													</div>
												</div>
												<div class="form-group">
												    <label for="product_uom" class="col-sm-2 control-label">单位：</label>
													<div class="col-sm-4">
													  	<input type="text" name="product_uom" id="product_uom" class="form-control input-sm" placeholder="单位"/>
													</div>
													<label for="location" class="col-sm-2 control-label">目的库位：</label>
													<div class="col-sm-4">
													    <input type="text" name="location" id="location" class="form-control input-sm" placeholder="目的库位"/>
													</div>
												</div>
												<div class="form-group">
												    <label for="state" class="col-sm-2 control-label">状态：</label>
													<div class="col-sm-4">
													  	<input type="text" name="state" id="state" class="form-control input-sm" placeholder="状态"/>
													</div>
												</div>
										      </div>
										      <div class="modal-footer">
										        <button type="button" id="pop_add_button" class="btn btn-primary" data-dismiss="modal">添加</button>
										        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
										      </div>
										    </div>
										  </div>
										</div>
							   		</div>
							   </div>
							   <div role="tabpanel" class="tab-pane tab_content" id="tab1">...ss</div>
							   <div role="tabpanel" class="tab-pane tab_content" id="tab2">...dd</div>
							</div>
						
						</div>
						<br />
					</div>
				</div>
			</div>
	    </div>
	  </body>
</html>
